{{ define "leftnav"}}

<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">

        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu" data-widget="tree">
            <li class="treeview ">
                <a href="/index">
                    <i class="fa fa-dashboard"></i> <span>首页</span>
                </a>
            </li>
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-files-o"></i>
                    <span>代码生成</span>
                </a>
                <ul class="treeview-menu">
                    <li><a href="/gen/setting"><i class="fa fa-circle-o"></i>根据数据库生成</a></li>
                    <li><a href="/gen/from"><i class="fa fa-circle-o"></i>自定义表单生成</a></li>
                    </li>
                </ul>
            </li>
         {{/*   <li>
                <a href="#widgets.html">
                    <i class="fa fa-th"></i> <span>Widgets</span>
                    <span class="pull-right-container">
              <small class="layui-badge layui-bg-green pull-right">new</small>
            </span>
                </a>
            </li>*/}}
            <li class="header">系统配置</li>
            <li><a href="/sys/dict"><i class="fa fa-circle-o text-yellow"></i> <span>数据字典</span></a></li>
            <li><a href="/sys/setting"><i class="fa fa-circle-o text-aqua"></i> <span>系统配置</span></a></li>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>

{{end}}